﻿using System.Workflow.Activities;

namespace Smart.Workflow.WorkflowActions
{
	public partial class SPAssignmentActivity
	{
		#region Designer generated code

		/// <summary> 
		/// Required method for Designer support - do not modify 
		/// the contents of this method with the code editor.
		/// </summary>
		[System.Diagnostics.DebuggerNonUserCode]
		[System.CodeDom.Compiler.GeneratedCode("", "")]
		private void InitializeComponent()
		{
			this.CanModifyActivities = true;
			System.Workflow.ComponentModel.ActivityBind activitybind1 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.ComponentModel.ActivityBind activitybind2 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.Runtime.CorrelationToken correlationtoken1 = new System.Workflow.Runtime.CorrelationToken();
			System.Workflow.ComponentModel.ActivityBind activitybind3 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.ComponentModel.ActivityBind activitybind4 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.Activities.Rules.RuleConditionReference ruleconditionreference1 = new System.Workflow.Activities.Rules.RuleConditionReference();
			System.Workflow.ComponentModel.ActivityBind activitybind5 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.ComponentModel.ActivityBind activitybind6 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.ComponentModel.ActivityBind activitybind9 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.ComponentModel.ActivityBind activitybind7 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.ComponentModel.ActivityBind activitybind8 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.ComponentModel.ActivityBind activitybind10 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.ComponentModel.ActivityBind activitybind11 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.ComponentModel.ActivityBind activitybind12 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.ComponentModel.ActivityBind activitybind13 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.Activities.Rules.RuleConditionReference ruleconditionreference2 = new System.Workflow.Activities.Rules.RuleConditionReference();
			System.Workflow.Activities.Rules.RuleConditionReference ruleconditionreference3 = new System.Workflow.Activities.Rules.RuleConditionReference();
			System.Workflow.Activities.Rules.RuleConditionReference ruleconditionreference4 = new System.Workflow.Activities.Rules.RuleConditionReference();
			System.Workflow.Activities.Rules.RuleConditionReference ruleconditionreference5 = new System.Workflow.Activities.Rules.RuleConditionReference();
			System.Workflow.ComponentModel.ActivityBind activitybind14 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.ComponentModel.ActivityBind activitybind15 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.ComponentModel.ActivityBind activitybind16 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.ComponentModel.ActivityBind activitybind17 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.ComponentModel.ActivityBind activitybind18 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.ComponentModel.ActivityBind activitybind19 = new System.Workflow.ComponentModel.ActivityBind();
			this.LogTaskChanged = new Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity();
			this.LogTaskCompleted = new Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity();
			this.TaskCompletion = new Microsoft.SharePoint.WorkflowActions.CompleteTask();
			this.NotComleted = new System.Workflow.Activities.IfElseBranchActivity();
			this.Completed = new System.Workflow.Activities.IfElseBranchActivity();
			this.logTaskExpired = new Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity();
			this.TaskExpiration = new System.Workflow.Activities.CodeActivity();
			this.WaitTaskExpiration = new System.Workflow.Activities.DelayActivity();
			this.logTaskDeleted = new Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity();
			this.onTaskDeleted1 = new Microsoft.SharePoint.WorkflowActions.OnTaskDeleted();
			this.ifTaskCompleted = new System.Workflow.Activities.IfElseActivity();
			this.onTaskChanged1 = new Microsoft.SharePoint.WorkflowActions.OnTaskChanged();
			this.TaskExpirationBlock = new System.Workflow.Activities.SequenceActivity();
			this.TaskDeletedBlock = new System.Workflow.Activities.SequenceActivity();
			this.TaskChangedBlock = new System.Workflow.Activities.SequenceActivity();
			this.TaskEventsHandlers = new System.Workflow.Activities.ConditionedActivityGroup();
			this.logTaskCreated = new Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity();
			this.TaskCreation = new Microsoft.SharePoint.WorkflowActions.CreateTaskWithContentType();
			this.Initialization = new System.Workflow.Activities.CodeActivity();
			// 
			// LogTaskChanged
			// 
			this.LogTaskChanged.Duration = System.TimeSpan.Parse("00:00:00");
			this.LogTaskChanged.EventId = Microsoft.SharePoint.Workflow.SPWorkflowHistoryEventType.TaskModified;
			this.LogTaskChanged.HistoryDescription = "";
			this.LogTaskChanged.HistoryOutcome = "";
			this.LogTaskChanged.Name = "LogTaskChanged";
			this.LogTaskChanged.OtherData = "";
			activitybind1.Name = "SPAssignmentActivity";
			activitybind1.Path = "ExecutorId";
			this.LogTaskChanged.SetBinding(Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity.UserIdProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind1)));
			// 
			// LogTaskCompleted
			// 
			this.LogTaskCompleted.Duration = System.TimeSpan.Parse("00:00:00");
			this.LogTaskCompleted.EventId = Microsoft.SharePoint.Workflow.SPWorkflowHistoryEventType.TaskCompleted;
			this.LogTaskCompleted.HistoryDescription = "";
			this.LogTaskCompleted.HistoryOutcome = "";
			this.LogTaskCompleted.Name = "LogTaskCompleted";
			this.LogTaskCompleted.OtherData = "";
			activitybind2.Name = "SPAssignmentActivity";
			activitybind2.Path = "ExecutorId";
			this.LogTaskCompleted.SetBinding(Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity.UserIdProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind2)));
			// 
			// TaskCompletion
			// 
			correlationtoken1.Name = "TaskCorrelationToken";
			correlationtoken1.OwnerActivityName = "SPAssignmentActivity";
			this.TaskCompletion.CorrelationToken = correlationtoken1;
			this.TaskCompletion.Name = "TaskCompletion";
			activitybind3.Name = "SPAssignmentActivity";
			activitybind3.Path = "TaskId";
			activitybind4.Name = "SPAssignmentActivity";
			activitybind4.Path = "TaskOutcome";
			this.TaskCompletion.MethodInvoking += new System.EventHandler(this.TaskCompleting);
			this.TaskCompletion.SetBinding(Microsoft.SharePoint.WorkflowActions.CompleteTask.TaskOutcomeProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind4)));
			this.TaskCompletion.SetBinding(Microsoft.SharePoint.WorkflowActions.CompleteTask.TaskIdProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind3)));
			// 
			// NotComleted
			// 
			this.NotComleted.Activities.Add(this.LogTaskChanged);
			this.NotComleted.Name = "NotComleted";
			// 
			// Completed
			// 
			this.Completed.Activities.Add(this.TaskCompletion);
			this.Completed.Activities.Add(this.LogTaskCompleted);
			ruleconditionreference1.ConditionName = "IsTaskCompleted";
			this.Completed.Condition = ruleconditionreference1;
			this.Completed.Name = "Completed";
			// 
			// logTaskExpired
			// 
			this.logTaskExpired.Duration = System.TimeSpan.Parse("00:00:00");
			this.logTaskExpired.EventId = Microsoft.SharePoint.Workflow.SPWorkflowHistoryEventType.WorkflowComment;
			this.logTaskExpired.HistoryDescription = "";
			this.logTaskExpired.HistoryOutcome = "";
			this.logTaskExpired.Name = "logTaskExpired";
			this.logTaskExpired.OtherData = "";
			activitybind5.Name = "SPAssignmentActivity";
			activitybind5.Path = "Instance.AssigneeId";
			this.logTaskExpired.SetBinding(Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity.UserIdProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind5)));
			// 
			// TaskExpiration
			// 
			this.TaskExpiration.Name = "TaskExpiration";
			this.TaskExpiration.ExecuteCode += new System.EventHandler(this.TaskExpired);
			// 
			// WaitTaskExpiration
			// 
			this.WaitTaskExpiration.Name = "WaitTaskExpiration";
			this.WaitTaskExpiration.TimeoutDuration = System.TimeSpan.Parse("00:00:00");
			// 
			// logTaskDeleted
			// 
			this.logTaskDeleted.Duration = System.TimeSpan.Parse("00:00:00");
			this.logTaskDeleted.EventId = Microsoft.SharePoint.Workflow.SPWorkflowHistoryEventType.TaskDeleted;
			this.logTaskDeleted.HistoryDescription = "";
			this.logTaskDeleted.HistoryOutcome = "";
			this.logTaskDeleted.Name = "logTaskDeleted";
			this.logTaskDeleted.OtherData = "";
			activitybind6.Name = "SPAssignmentActivity";
			activitybind6.Path = "ExecutorId";
			this.logTaskDeleted.SetBinding(Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity.UserIdProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind6)));
			activitybind9.Name = "SPAssignmentActivity";
			activitybind9.Path = "AfterProperties";
			// 
			// onTaskDeleted1
			// 
			this.onTaskDeleted1.CorrelationToken = correlationtoken1;
			activitybind7.Name = "SPAssignmentActivity";
			activitybind7.Path = "Executor";
			this.onTaskDeleted1.Name = "onTaskDeleted1";
			activitybind8.Name = "SPAssignmentActivity";
			activitybind8.Path = "TaskId";
			this.onTaskDeleted1.Invoked += new System.EventHandler<System.Workflow.Activities.ExternalDataEventArgs>(this.TaskDeleted);
			this.onTaskDeleted1.SetBinding(Microsoft.SharePoint.WorkflowActions.OnTaskDeleted.AfterPropertiesProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind9)));
			this.onTaskDeleted1.SetBinding(Microsoft.SharePoint.WorkflowActions.OnTaskDeleted.ExecutorProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind7)));
			this.onTaskDeleted1.SetBinding(Microsoft.SharePoint.WorkflowActions.OnTaskDeleted.TaskIdProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind8)));
			// 
			// ifTaskCompleted
			// 
			this.ifTaskCompleted.Activities.Add(this.Completed);
			this.ifTaskCompleted.Activities.Add(this.NotComleted);
			this.ifTaskCompleted.Name = "ifTaskCompleted";
			// 
			// onTaskChanged1
			// 
			activitybind10.Name = "SPAssignmentActivity";
			activitybind10.Path = "AfterProperties";
			activitybind11.Name = "SPAssignmentActivity";
			activitybind11.Path = "BeforeProperties";
			this.onTaskChanged1.CorrelationToken = correlationtoken1;
			activitybind12.Name = "SPAssignmentActivity";
			activitybind12.Path = "Executor";
			this.onTaskChanged1.Name = "onTaskChanged1";
			activitybind13.Name = "SPAssignmentActivity";
			activitybind13.Path = "TaskId";
			this.onTaskChanged1.Invoked += new System.EventHandler<System.Workflow.Activities.ExternalDataEventArgs>(this.TaskChanged);
			this.onTaskChanged1.SetBinding(Microsoft.SharePoint.WorkflowActions.OnTaskChanged.BeforePropertiesProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind11)));
			this.onTaskChanged1.SetBinding(Microsoft.SharePoint.WorkflowActions.OnTaskChanged.ExecutorProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind12)));
			this.onTaskChanged1.SetBinding(Microsoft.SharePoint.WorkflowActions.OnTaskChanged.TaskIdProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind13)));
			this.onTaskChanged1.SetBinding(Microsoft.SharePoint.WorkflowActions.OnTaskChanged.AfterPropertiesProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind10)));
			ruleconditionreference2.ConditionName = "IsExpirationEnabled";
			// 
			// TaskExpirationBlock
			// 
			this.TaskExpirationBlock.Activities.Add(this.WaitTaskExpiration);
			this.TaskExpirationBlock.Activities.Add(this.TaskExpiration);
			this.TaskExpirationBlock.Activities.Add(this.logTaskExpired);
			this.TaskExpirationBlock.Name = "TaskExpirationBlock";
			this.TaskExpirationBlock.SetValue(System.Workflow.Activities.ConditionedActivityGroup.WhenConditionProperty, ruleconditionreference2);
			ruleconditionreference3.ConditionName = "IsNotTaskCompleted";
			// 
			// TaskDeletedBlock
			// 
			this.TaskDeletedBlock.Activities.Add(this.onTaskDeleted1);
			this.TaskDeletedBlock.Activities.Add(this.logTaskDeleted);
			this.TaskDeletedBlock.Name = "TaskDeletedBlock";
			this.TaskDeletedBlock.SetValue(System.Workflow.Activities.ConditionedActivityGroup.WhenConditionProperty, ruleconditionreference3);
			ruleconditionreference4.ConditionName = "IsNotTaskCompleted";
			// 
			// TaskChangedBlock
			// 
			this.TaskChangedBlock.Activities.Add(this.onTaskChanged1);
			this.TaskChangedBlock.Activities.Add(this.ifTaskCompleted);
			this.TaskChangedBlock.Name = "TaskChangedBlock";
			this.TaskChangedBlock.SetValue(System.Workflow.Activities.ConditionedActivityGroup.WhenConditionProperty, ruleconditionreference4);
			// 
			// TaskEventsHandlers
			// 
			this.TaskEventsHandlers.Activities.Add(this.TaskChangedBlock);
			this.TaskEventsHandlers.Activities.Add(this.TaskDeletedBlock);
			this.TaskEventsHandlers.Activities.Add(this.TaskExpirationBlock);
			this.TaskEventsHandlers.Name = "TaskEventsHandlers";
			ruleconditionreference5.ConditionName = "IsTaskCompleted";
			this.TaskEventsHandlers.UntilCondition = ruleconditionreference5;
			// 
			// logTaskCreated
			// 
			this.logTaskCreated.Duration = System.TimeSpan.Parse("00:00:00");
			this.logTaskCreated.EventId = Microsoft.SharePoint.Workflow.SPWorkflowHistoryEventType.TaskCreated;
			this.logTaskCreated.HistoryDescription = "";
			this.logTaskCreated.HistoryOutcome = "";
			this.logTaskCreated.Name = "logTaskCreated";
			this.logTaskCreated.OtherData = "";
			activitybind14.Name = "SPAssignmentActivity";
			activitybind14.Path = "Instance.AssigneeId";
			this.logTaskCreated.SetBinding(Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity.UserIdProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind14)));
			// 
			// TaskCreation
			// 
			activitybind15.Name = "SPAssignmentActivity";
			activitybind15.Path = "ContentTypeId";
			this.TaskCreation.CorrelationToken = correlationtoken1;
			activitybind16.Name = "SPAssignmentActivity";
			activitybind16.Path = "ListItemId";
			this.TaskCreation.Name = "TaskCreation";
			activitybind17.Name = "SPAssignmentActivity";
			activitybind17.Path = "SpecialPermissions";
			activitybind18.Name = "SPAssignmentActivity";
			activitybind18.Path = "TaskId";
			activitybind19.Name = "SPAssignmentActivity";
			activitybind19.Path = "TaskProperties";
			this.TaskCreation.MethodInvoking += new System.EventHandler(this.TaskCreating);
			this.TaskCreation.SetBinding(Microsoft.SharePoint.WorkflowActions.CreateTaskWithContentType.TaskIdProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind18)));
			this.TaskCreation.SetBinding(Microsoft.SharePoint.WorkflowActions.CreateTaskWithContentType.TaskPropertiesProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind19)));
			this.TaskCreation.SetBinding(Microsoft.SharePoint.WorkflowActions.CreateTaskWithContentType.ContentTypeIdProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind15)));
			this.TaskCreation.SetBinding(Microsoft.SharePoint.WorkflowActions.CreateTaskWithContentType.SpecialPermissionsProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind17)));
			this.TaskCreation.SetBinding(Microsoft.SharePoint.WorkflowActions.CreateTaskWithContentType.ListItemIdProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind16)));
			// 
			// Initialization
			// 
			this.Initialization.Name = "Initialization";
			this.Initialization.ExecuteCode += new System.EventHandler(this.Initialize);
			// 
			// AssignmentActivity
			// 
			this.Activities.Add(this.Initialization);
			this.Activities.Add(this.TaskCreation);
			this.Activities.Add(this.logTaskCreated);
			this.Activities.Add(this.TaskEventsHandlers);
			this.Name = "SPAssignmentActivity";
			this.CanModifyActivities = false;

		}

		#endregion


		private Microsoft.SharePoint.WorkflowActions.OnTaskDeleted OnTaskDeleted;

		private Microsoft.SharePoint.WorkflowActions.OnTaskChanged OnTaskChanged;
		private Microsoft.SharePoint.WorkflowActions.OnTaskDeleted onTaskDeleted1;
		private Microsoft.SharePoint.WorkflowActions.OnTaskChanged onTaskChanged1;
		private Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity logTaskExpired;
		private Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity LogTaskChanged;
		private Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity LogTaskCompleted;
		private Microsoft.SharePoint.WorkflowActions.CompleteTask TaskCompletion;
		private IfElseBranchActivity NotComleted;
		private IfElseBranchActivity Completed;
		private CodeActivity TaskExpiration;
		private DelayActivity WaitTaskExpiration;
		private Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity logTaskDeleted;
		private IfElseActivity ifTaskCompleted;
		private SequenceActivity TaskExpirationBlock;
		private SequenceActivity TaskDeletedBlock;
		private SequenceActivity TaskChangedBlock;
		private ConditionedActivityGroup TaskEventsHandlers;
		private Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity logTaskCreated;
		private Microsoft.SharePoint.WorkflowActions.CreateTaskWithContentType TaskCreation;
		private CodeActivity Initialization;
































































	}
}
